perm filename PROB8.PUB[LSP,JRA]1 blob sn#084474 filedate 1974-01-28 generic text, type T, neo UTF8
.SS(Hacking with %3eval%* and friends.)
.BEGIN SELECT 1;CENTERIT;

Assume that the variable, %3st%1, is currently bound to:
.NOFILL
←%3((X . M)(Y . T)(Z .(M N))(T . T)).
%1

evaluate:

%21.%3 assoc[Z;st]
.APART
%22.%3 eval[(QUOTE A);st]
%23.%3 apply[CONS;(A B); st]
%24.%3 apply[CAR;((A));st]
%25.%3 apply[CAR;(A);st]

.FILL
.END